package com.ysd.entity;

public class News {
	private int newsid;
	private String newsShiJian;
	private String newsTitle;
	private String newsContert;
	private int newsCategoryid;
	private String newsZhuYe;
	
	private String newsCategoryName;
	
	
	@Override
	public String toString() {
		return "News [newsid=" + newsid + ", newsShiJian=" + newsShiJian + ", newsTitle=" + newsTitle + ", newsContert="
				+ newsContert + ", newsCategoryid=" + newsCategoryid + ", newsZhuYe=" + newsZhuYe
				+ ", newsCategoryName=" + newsCategoryName + "]";
	}
	public News(int newsid, String newsShiJian, String newsTitle, String newsContert, int newsCategoryid,
			String newsZhuYe, String newsCategoryName) {
		super();
		this.newsid = newsid;
		this.newsShiJian = newsShiJian;
		this.newsTitle = newsTitle;
		this.newsContert = newsContert;
		this.newsCategoryid = newsCategoryid;
		this.newsZhuYe = newsZhuYe;
		this.newsCategoryName = newsCategoryName;
	}
	public News(int newsid, String newsShiJian, String newsTitle, String newsContert, int newsCategoryid) {
		super();
		this.newsid = newsid;
		this.newsShiJian = newsShiJian;
		this.newsTitle = newsTitle;
		this.newsContert = newsContert;
		this.newsCategoryid = newsCategoryid;
	}
	public News(int newsid, String newsShiJian, String newsTitle, String newsContert, int newsCategoryid,
			String newsZhuYe) {
		super();
		this.newsid = newsid;
		this.newsShiJian = newsShiJian;
		this.newsTitle = newsTitle;
		this.newsContert = newsContert;
		this.newsCategoryid = newsCategoryid;
		this.newsZhuYe = newsZhuYe;
	}
	public News() {
		super();
	}
	public int getNewsid() {
		return newsid;
	}
	public void setNewsid(int newsid) {
		this.newsid = newsid;
	}
	public String getNewsShiJian() {
		return newsShiJian;
	}
	public void setNewsShiJian(String newsShiJian) {
		this.newsShiJian = newsShiJian;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContert() {
		return newsContert;
	}
	public void setNewsContert(String newsContert) {
		this.newsContert = newsContert;
	}
	public int getNewsCategoryid() {
		return newsCategoryid;
	}
	public void setNewsCategoryid(int newsCategoryid) {
		this.newsCategoryid = newsCategoryid;
	}
	public String getNewsZhuYe() {
		return newsZhuYe;
	}
	public void setNewsZhuYe(String newsZhuYe) {
		this.newsZhuYe = newsZhuYe;
	}
	public String getNewsCategoryName() {
		return newsCategoryName;
	}
	public void setNewsCategoryName(String newsCategoryName) {
		this.newsCategoryName = newsCategoryName;
	}
	
	
	


	
}
